package cn.getech.data.development.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 表关系
 * </p>
 *
 * @author zenith
 * @since 2019-07-08
 */
@Data
@TableName("bdp_table_relation")
public class TableRelation implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 子表编号
     */

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer cid;

    /**
     * 父表编号
     */
    private Integer pid;


}
